package com.wyd.wenyongdaAdmin.commons.model.admin.dict.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode
@ToString
@Accessors(chain = true)
public class DictEntryDTO implements Serializable {
    private static final long serialVersionUID = 2716354251966901428L;

    private Long id;

    private Long dictId;

    /**
     * 备注
     */
    private String description;
    /**
     * 名称
     */
    //@Alias("label")
    private String name;

    /**
     * 字典值
     */
    private String value;

    /**
     * 排序
     */
    private Integer sort;

    private Integer isEnabled;
}
